<template>
  <div class="is_empty">
    <div class="wrap">
      <img src="../../assets/images/is_empty.png" class="icon" />
      <div><slot></slot></div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'is-empty'
};
</script>

<style lang="scss" scoped>
.is_empty {
  display: flex;
  position: absolute;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: calc(100% - 100px);
  color: gray;
  .wrap {
    text-align: center;
    .icon {
      width: 80px;
      margin-bottom: 20px;
    }
  }
}
</style>
